/*
 *  Copyright (C), 2015-2024
 *  FileName: keyboard_notification
 *  Author: Tonight丶相拥
 *  Date: 5/16/24
 *  Description: 
 **/

part of 'flutter_tool.dart';


mixin KeyboardChange {
  void onKeyboardChange(dynamic param);
}

mixin CustomKeyboardTool implements KeyboardChange {
  void addObserve() {
    InstanceInitialize._eventBus?.addListener(onKeyboardChange, name: _KeyboardObserveTool.keyboardChangeKey);
  }

  void removeObserve() {
    InstanceInitialize._eventBus?.removeListener(onKeyboardChange, name: _KeyboardObserveTool.keyboardChangeKey);
  }
}